package com.pinyoumei.app.bean;

import java.math.BigDecimal;
import java.util.List;

/**
 * Created by Administrator on 2021-06-30.
 * --------- 日期 ------- 维护人 ------------ 变更内容 --------
 * 2021-06-30        Administrator             新增Person类
 * 2021-06-30        Administrator             增加sex属性
 */
public class ZBKOrderListBean {

    /**
     * code : 1
     * errors : {}
     * msg : 加载成功
     * result : {"order_list":[{"order_no":"ZBK1623750795","unit_name":"MYR","order_status":1,"order_status_name":"待发货","goods_list":[{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}],"real_pay_price":127.84,"total_goods_num":1,"id":"5999f6dec4ec4e77af2f098119199c4d","order_time":"2021-06-15 17:53:15"},{"order_no":"ZBK1623897730","unit_name":"MYR","order_status":0,"goods_list":[{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}],"real_pay_price":127.84,"total_goods_num":1,"id":"68602dd3c4424cd0bc34a8ff6f329300","order_time":"2021-06-17 10:42:10"},{"order_no":"ZBK1623750503","unit_name":"MYR","order_status":1,"order_status_name":"待发货","goods_list":[{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}],"real_pay_price":127.84,"total_goods_num":1,"id":"9b12fd43b5c547519408bdd38f098576","order_time":"2021-06-15 17:48:23"},{"order_no":"ZBK1623897796","unit_name":"MYR","order_status":0,"goods_list":[{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}],"real_pay_price":127.84,"total_goods_num":1,"id":"9cd71dac41d94b85b80ffddbd52f8546","order_time":"2021-06-17 10:43:16"},{"order_no":"ZBK1623897669","unit_name":"MYR","order_status":0,"goods_list":[{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}],"real_pay_price":127.84,"total_goods_num":1,"id":"ec2ec838879142ecbbb7764216969d8f","order_time":"2021-06-17 10:41:09"}]}
     */

    private int code;
    private ErrorsBean errors;
    private String msg;
    private ResultBean result;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public ErrorsBean getErrors() {
        return errors;
    }

    public void setErrors(ErrorsBean errors) {
        this.errors = errors;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ErrorsBean {
    }

    public static class ResultBean {
        private List<OrderListBean> data_list;

        public List<OrderListBean> getOrder_list() {
            return data_list;
        }

        public void setOrder_list(List<OrderListBean> order_list) {
            this.data_list = order_list;
        }

        public static class OrderListBean {
            /**
             * order_no : ZBK1623750795
             * unit_name : MYR
             * order_status : 1
             * order_status_name : 待发货
             * goods_list : [{"unit_name":"MYR","goods_name":"西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜","goods_price":131,"goods_num":1,"goods_img":"https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg"}]
             * real_pay_price : 127.84
             * total_goods_num : 1
             * id : 5999f6dec4ec4e77af2f098119199c4d
             * order_time : 2021-06-15 17:53:15
             */

            private String order_no;
            private String unit_name;
            private int order_status;
            private String order_status_name;
            private BigDecimal real_pay_price;
            private int total_goods_num;
            private String id;
            private String order_time;
            private List<GoodsListBean> goods_list;

            public String getOrder_no() {
                return order_no;
            }

            public void setOrder_no(String order_no) {
                this.order_no = order_no;
            }

            public String getUnit_name() {
                return unit_name;
            }

            public void setUnit_name(String unit_name) {
                this.unit_name = unit_name;
            }

            public int getOrder_status() {
                return order_status;
            }

            public void setOrder_status(int order_status) {
                this.order_status = order_status;
            }

            public String getOrder_status_name() {
                return order_status_name;
            }

            public void setOrder_status_name(String order_status_name) {
                this.order_status_name = order_status_name;
            }

            public BigDecimal getReal_pay_price() {
                return real_pay_price;
            }

            public void setReal_pay_price(BigDecimal real_pay_price) {
                this.real_pay_price = real_pay_price;
            }

            public int getTotal_goods_num() {
                return total_goods_num;
            }

            public void setTotal_goods_num(int total_goods_num) {
                this.total_goods_num = total_goods_num;
            }

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getOrder_time() {
                return order_time;
            }

            public void setOrder_time(String order_time) {
                this.order_time = order_time;
            }

            public List<GoodsListBean> getGoods_list() {
                return goods_list;
            }

            public void setGoods_list(List<GoodsListBean> goods_list) {
                this.goods_list = goods_list;
            }

            public static class GoodsListBean {
                /**
                 * unit_name : MYR
                 * goods_name : 西班牙橄榄油食用油500ML瓶原装进口低脂餐孕妇健身炒菜
                 * goods_price : 131
                 * goods_num : 1
                 * goods_img : https://baiyiquan.oss-cn-shenzhen.aliyuncs.com/1623383511031.jpg
                 */

                private String unit_name;
                private String goods_name;
                private BigDecimal goods_price;
                private int goods_num;
                private String goods_img;

                public String getUnit_name() {
                    return unit_name;
                }

                public void setUnit_name(String unit_name) {
                    this.unit_name = unit_name;
                }

                public String getGoods_name() {
                    return goods_name;
                }

                public void setGoods_name(String goods_name) {
                    this.goods_name = goods_name;
                }

                public BigDecimal getGoods_price() {
                    return goods_price;
                }

                public void setGoods_price(BigDecimal goods_price) {
                    this.goods_price = goods_price;
                }

                public int getGoods_num() {
                    return goods_num;
                }

                public void setGoods_num(int goods_num) {
                    this.goods_num = goods_num;
                }

                public String getGoods_img() {
                    return goods_img;
                }

                public void setGoods_img(String goods_img) {
                    this.goods_img = goods_img;
                }
            }
        }
    }
}
